/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package net.wofly.sale.stock.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import net.wofly.sale.stock.domain.InStock;

public interface InStockRepository
		extends PagingAndSortingRepository<InStock, String>, JpaSpecificationExecutor<InStock> {

	public Page<InStock> findAll(Specification specification, Pageable pageable);
	
}